#include<stdio.h>

int isPalindromicString(char s[ ])
{
	int i;
	int boo = 1;
	for (i = 0; i < 100; i++)
	{
		if (s[i] == '\0')
		{
			break;
		}	
	}
	for (int j = 0; j < i/2; j++)
	{
		if (s[j] != s[i-j-1])
		{
			boo = 0; 
		}
		
	}
	return boo;
	
}

int main(){

	char s[100];

	gets(s);

	if(isPalindromicString(s))

		printf("Yes");

	else

		printf("No");

	return 0;

}